{{--首页 模板--}}
@extends('web.indexmain')
@section('header')
    @if(null==(session("loginUser")))
    <input id="my" type="hidden" value="noval" >
    @else
    <input id="my" type="hidden" value="{{session('loginUser')->name}}" >
    <input id="myid" type="hidden" value="{{session('loginUser')->id}}" >
    @endif
    
        <!-- 顶部组件 -->
        <index-header :user="user" :uid="uid"></index-header>
        @stop
@section('content')

        <!-- 内容部分 -->
        <div class="index__box__con">
            <router-view></router-view>
        </div> 
        @stop
@section('footer')
        <!-- 底部组件 -->
        <mc-bottom></mc-bottom>

        <!-- 城市选择组件 -->
        <!-- <mc-city></mc-city> -->
    </div>

    <script type= 'text/javascript' src="../../../../pc/js/common/jquery-1.8.3.min.js"></script>
    <script type= 'text/javascript' src="../../../../pc/js/common/url.js"></script>  
    <script type= 'text/javascript' src="../../../../pc/js/common/script.js"></script>
    <script type= 'text/javascript' src="../../../../pc/js/index/index.js"></script>
    
    <script src="../../../../pc/js/cache.js"></script>
    <script>
        var session = "{{session('loginUser')}}";
        if(session==""){
            cacheDel("pcUserInfo");
        }
    </script>
    @stop
